package com.cloudkinto.service.fbaorderoutput.vo;

import com.cloudkinto.service.operate.vo.OperateRes;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * Author Administrator
 *
 * @Des
 * @Version
 * @Date 2021/10/15
 */
@Data
public class OpenApiFbaOrderOutputDetailRes {
    private Long id;

    /**
     * 0 未发货  1 已发货 2 待发货
     */
    @ApiModelProperty("发货状态")
    private String status;
    @ApiModelProperty("发货状态Id")
    private Integer statusId;
    @ApiModelProperty("所属店铺Id")
    private Long shopId;
    @ApiModelProperty("所属店铺")
    private String shop;
    @ApiModelProperty("出库仓库Id")
    private Long storageId;
    @ApiModelProperty("出库仓库")
    private String storage;
    @ApiModelProperty("订单号")
    private String orderNumber;

    private Long companyId;

    /**
     * 顾客自定单号
     */
    @ApiModelProperty("顾客自定单号")
    private String orderNo;

    /**
     * 收货人姓名
     */
    @ApiModelProperty("收货人姓名")
    private String receiverName;

    /**
     * 联系电话
     */
    @ApiModelProperty("联系电话")
    private String telPhone;

    /**
     * 邮编
     */
    @ApiModelProperty("邮编")
    private String postCode;

    /**
     * 地区
     */
    @ApiModelProperty("地区")
    private String area;

    /**
     * 地址
     */
    @ApiModelProperty("地址")
    private String address;

    /**
     * 追踪单号
     */
    @ApiModelProperty("追踪单号")
    private String trackNumber;

    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String tips;

    /**
     * 运费
     */
    @ApiModelProperty("运费")
    private double shipFee;

    /**
     * 出库费
     */
    @ApiModelProperty("收货人电话")
    private double outFee;

    /**
     * 操作费
     */
    @ApiModelProperty("操作费")
    private double operateFee;

    /**
     * 税费
     */
    @ApiModelProperty("税费")
    private double taxFee;

    @ApiModelProperty("运输公司Id")
    private Long trackId;
    @ApiModelProperty("运输公司")
    private String trackName;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    private Long createBy;

    private Date updateTime;

    private Long updateBy;

    private Long deleteBy;

    private Date deleteTime;

    private Long fileId;
    private Long productFileId;
    private Long otherFileId;
    @ApiModelProperty("箱标文件url")
    private String fileUrl;
    @ApiModelProperty("产品标文件url")
    private String productFileUrl;
    @ApiModelProperty("补充资料文件url")
    private String otherFileUrl;
    @ApiModelProperty("签收单文件URl")
    private String signatureFileUrl;
    @ApiModelProperty("货件追踪编码")
    private String poNumber;

    private Long fbaStorageId;
    @ApiModelProperty("FBA仓库代码")
    private Long fbaStorageCode;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("亚马逊约仓时间")
    private Date appointmentStorageTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("系统约车时间")
    private Date appointmentCarTime;

    private List<FbaOrderOutputPackageDetail> packageList;

    private List<OperateRes> operateResList;
}
